package com.hzw.saas.api.product.dto;

import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 购买订单支付状态信息
 *
 * @author zzl
 * @since 02/04/2021
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "购买订单支付完成信息")
public class ItemOrderSuccessDto {

    public ItemOrderSuccessDto() {
    }

    public ItemOrderSuccessDto(String itemName, Date expireDate) {
        this.itemName = itemName;
        this.expireDate = expireDate;
    }

    /**
     * 机时商品名称
     */
    @ApiModelProperty(value = "机时商品名称", position = 2)
    private String itemName;

    /**
     * 超算帐号过期时间
     */
    @ApiModelProperty(value = "超算帐号过期时间", position = 3)
    private Date expireDate;

}
